package com.smarthealthring.mm.contract;

import com.smarthealthring.mm.base.IPresenter;
import com.smarthealthring.mm.base.IView;
import com.smarthealthring.mm.bean.UpdateInfoRes;

import java.util.Map;

public interface PersonalContract {
    interface View extends IView {
        void updateSuccess(UpdateInfoRes res);
        void updateFail();
    }

    interface Presenter extends IPresenter<PersonalContract.View> {
        void updateInfo(Map<String, String> params);
    }
}
